package cn.yanjr.common;

import java.util.Properties;

import cn.yanjr.common.utils.AppPropertiesUtil;

public class Config {
	/**
	 * 读配置文件
	 */
	public final static Properties prop = AppPropertiesUtil.readPropertiesFile("config.properties", Config.class);
	
	public final static boolean PrintLog = "true".equalsIgnoreCase(prop.getProperty("MQ.Client.PrintLog"));
	
	
	public final static String RocketMqGroupNmae = prop.getProperty("MQ.GROUP_NAME");
	
	public final static String RocketMqNamesrvAddr = prop.getProperty("MQ.NAMESRV_ADDR");
	
	public final static String RocketMqTopic = prop.getProperty("MQ.TOPIC");
	
	public final static String RocketMqTag = prop.getProperty("MQ.TAG");
	
}
